var status = -1;
var selectionLog = [];

function start() {
    action(1, 0, 0)
}

function action(d, c, b) {
    if (status == 0 && d == 0) {
        cm.dispose();
        return
    }
    status++;
    selectionLog[status] = b;
    var a = -1;
    if (status <= a++) {
        cm.dispose()
    } else {
        if (status === a++) {
            cm.updateInfoQuest(63511, "e=1");
            cm.updateInfoQuest(63485, "connecting=1");
            cm.onActionBarResult(5, 1008);
            cm.onSetMapTagedObjectVisible(1, "bton_s_b1c_00", 512);
            cm.onSetMapTagedObjectVisible(1, "bton_s_b1c_01", 512);
            cm.spawnMobLimit(9601335, 1, -362, 74, 100);
            cm.spawnMobLimit(9601335, 1, 6792, 74, 100);
            cm.spawnMobLimit(9601335, 1, 6780, 74, 100);
            cm.spawnMobLimit(9601335, 1, 7643, 74, 100);
            cm.spawnMobLimit(9601335, 1, 8176, 74, 100);
            cm.spawnMobLimit(9601335, 1, 8587, 74, 100);
            cm.spawnMobLimit(9601335, 1, 9397, 74, 100);
            cm.spawnMobLimit(9601335, 1, 9995, 74, 100);
            cm.spawnMobLimit(9601335, 1, 10433, 74, 100);
            cm.spawnMobLimit(9601335, 1, 11322, 74, 100);
            cm.spawnMobLimit(9601335, 1, 11876, 74, 100);
            cm.dispose()
        }
    }
};